package com.have.blog.picture.config;

import com.have.blog.config.configs.swagger.BaseSwagger2Config;
import com.have.blog.config.entity.SwaggerProperties;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@Configuration
@EnableSwagger2
public class Swagger2Config extends BaseSwagger2Config {
    @Override
    public SwaggerProperties swaggerProperties() {
        return SwaggerProperties.builder()
                .apiBasePackage("com.have.blog.admin.controller")
                .title("blog后台系统")
                .description("blog后台管理接口")
                .contactName("have")
                .version("1.0")
                .enableSecurity(true)
                .build();
    }
}
